<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
    <head>
        <base href="<%=basePath%>">
        <meta charset="UTF-8">
        <title>欢迎</title>
        <link rel="stylesheet" href="static/themes/bootstrap/easyui.css">
        <link rel="stylesheet" href="static/css/base.css">
        <script src="static/javascript/jquery-1.11.3.min.js"></script>
        <script src="static/javascript/jquery.easyui.min.js"></script>
        <script src="static/javascript/utils.js"></script>
        <script src="static/javascript/base.js"></script>

        <link rel="stylesheet" href="plugins/bootstrap-3.3.5-dist/css/bootstrap.min.css">
        <link rel="stylesheet" href="plugins/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css">
        <script src="plugins/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
        <script type="text/javascript" language="JavaScript">
            $(document).ready(function(){

                function toggleTabs(tag){
                    $("#chartTabs li").each(function(){
                        $(this).removeClass("active");
                    });
                    tag.parent().addClass("active");
                }
                $("#chartTabs a").click(function () {
                    toggleTabs($(this));
                    obj=$.ajax({url:"page/pageShow?pageType=" + $(this).attr("name"),async:false});
                    $("#chartDesItem").html(obj.responseText);
                });

                $("#chartTabs a").first().click();

            });
        </script>

    </head>
    <body>
    <div>
        <ul class="nav nav-tabs" id="chartTabs">
            <li><a name="MainTable">主表</a></li>
            <li><a name="ElevenDigitTable">十一位数表</a></li>
            <li><a name="BlueTable">篮球表</a></li>
            <li><a name="EvenTable">偶数表</a></li>
            <li><a name="OddTable">奇数表</a></li>
            <li><a name="FourPart012Table">四区012</a></li>
            <li><a name="FourPartEnd012Table">四区尾012</a></li>
            <li><a name="End3dTable">尾3d表</a></li>
            <li><a name="EndTable">尾数表</a></li>
        </ul>
        <div class="tab-content">
            <div id="chartDesItem"></div>
        </div>

    </div>
    </body>
</html>